package com.woniuxy.company5.mapper;


import com.woniuxy.company5.dto.ZhaiDto;
import com.woniuxy.company5.dto.ZhaiUserDto;

import com.woniuxy.company5.dto.UserEmpDto;

import com.woniuxy.company5.entity.UserEmp;
import com.woniuxy.company5.vo.EchartsVo;
import com.woniuxy.company5.vo.ZhaiUserVo;

import java.util.List;

/**
* @author Admin
* @description 针对表【user_emp】的数据库操作Mapper
* @createDate 2022-12-05 20:37:05
* @Entity com.woniuxy.company5.entity.UserEmp
*/
public interface UserEmpMapper {
UserEmp selectByAccount(String account);
    UserEmp selectByTel(String tel,String name);

    UserEmp selectByAccAndPwd(UserEmpDto userEmpDto);

    List<ZhaiUserVo> selAll(ZhaiUserDto userDto);
    List<UserEmp> selAll();
    UserEmp selectByName(String name);

    UserEmp toLogin(ZhaiUserDto userDto);

    int deleteByPrimaryKey(Long id);

    int insert(UserEmp record);

    int insertSelective(ZhaiDto record);

    UserEmp selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ZhaiDto record);

    int updateByPrimaryKey(UserEmp record);

    List<EchartsVo> groupByDid();
}
